package com.wizz.trade.information.mapper;

import com.wizz.trade.information.entity.Company;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fyftless
 * @since 2023-04-02 04:26:06
 */
@Mapper
public interface CompanyMapper extends BaseMapper<Company> {

    /**
     * 获取账套map
     * @return
     */
    List<Map<Integer, String>> getLedgerNames();

    /**
     * 获取公司map
     * @return
     */
    List<Map<Integer, String>> getCompanyNames();

    /**
     * 获取账套键值对选项
     * @return 键值对详细
     */
    List<Map<Integer, String>> getLedgerOptions();

    /**
     * 获取公司键值对选项
     * @return 选项
     */
    List<Map<Integer, String>> getCompanyOptions();

}
